package com.xayy.mgt.service;

import cn.kawins.base.result.CheckResult;
import cn.kawins.mybatis.BaseService;
import com.xayy.mgt.model.BayesHealth;
import com.xayy.mgt.model.vo.*;

/**
 * @author Nie
 * @version V1.0
 * @date 2023/9/19 10:40
 */
public interface BayesHealthService extends BaseService<BayesHealth> {
    CheckResult<BayesHealthVo> getNodeHealthInfo(Long satelliteId, Long nodeId);

    CheckResult<Object> updateInfo(BayesHealth bayesHealth);

    CheckResult<Object> getRecordInfo(HealthRecordVo healthRecordVo);

    CheckResult<BayesHealthRecordVo> getRecordInfoById(Long id);

    /**
     * 贝叶斯评估健康度信息-部件评估
     * @param assessVo 参数
     * @return CheckResult
     */
    CheckResult<Object> componentAssess(ComponentAssessVo assessVo);

    /**
     * 分系统评估
     * @param systemAssessVo 参数
     * @return CheckResult
     */
    CheckResult<Object> systemAssess(SystemAssessVo systemAssessVo);
}
